import App from './App.vue'
import {
	HTTP_REQUEST_URL,
	HEADER,
	TOKENNAME
} from '@/config/app';
// #ifndef VUE3
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import mint from "@/static/assets/js/mint.min.js";
import axios from "@/static/assets/js/axios.min.js";
import "@/static/assets/css/mint.min.css";
import "@/static/assets/css/common.css";
import store from "@/store";
import {router} from "@/router";
Vue.use(mint)
Vue.use(uView)
Vue.use(router)
Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$rootUri = HTTP_REQUEST_URL+"/addons/mrbs";//测试服务器域名
Vue.prototype.$httpApi = HTTP_REQUEST_URL
//Vue.prototype.$rootUri = "https://meeting.bigchun.com/addons/mrbs";//正式服务器域名
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
